toggle menu
0.5.7+1.20.4
0.6.1+1.21.3
0.6.1+1.21
0.6.1+1.20.1
0.6.0+1.21.3
0.6.0+1.21
0.6.0+1.20.1
0.5.9+1.21.3
0.5.9+1.21
0.5.9+1.20.6
0.5.9+1.20.4
0.5.9+1.20.1
0.5.7+1.21.2
0.5.7+1.21
0.5.7+1.20.6
0.5.7+1.20.4
0.5.7+1.20.1
0.5.6+1.21.2
0.5.6+1.21
0.5.6+1.20.6
0.5.6+1.20.4
0.5.6+1.20.1
0.5.5+1.21.2
0.5.4+1.21.2-pre4
0.5.4+1.21
0.5.4+1.20.6
0.5.4+1.20.4
0.5.4+1.20.1
0.5.3+24w40a
0.5.3+1.21
0.5.3+1.20.6
0.5.3+1.20.4
0.5.3+1.20.1
0.5.0+24w34a
0.5.0+1.21
0.5.0+1.20.6
0.5.0+1.20.4
0.5.0+1.20.1
jvm
switch theme
search in API
Fzzy Config
/
me.fzzyhmstrs.fzzy_config.screen.widget.internal
/
DirectionalLayoutWidget
Directional
Layout
Widget
class
DirectionalLayoutWidget
(
x
:
Int
,
y
:
Int
,
axis
:
DirectionalLayoutWidget.DisplayAxis
)
:
LayoutWidget
Members
Constructors
Directional
Layout
Widget
Link copied to clipboard
constructor
(
axis
:
DirectionalLayoutWidget.DisplayAxis
)
constructor
(
x
:
Int
,
y
:
Int
,
axis
:
DirectionalLayoutWidget.DisplayAxis
)
Types
Companion
Link copied to clipboard
object
Companion
Display
Axis
Link copied to clipboard
enum
DisplayAxis
:
Enum
<
DirectionalLayoutWidget.DisplayAxis
>
Functions
add
Link copied to clipboard
fun
<
T
:
Widget
?
>
add
(
widget
:
T
)
:
T
fun
<
T
:
Widget
?
>
add
(
widget
:
T
,
callback
:
Consumer
<
Positioner
>
)
:
T
fun
<
T
:
Widget
?
>
add
(
widget
:
T
,
positioner
:
Positioner
)
:
T
copy
Positioner
Link copied to clipboard
fun
copyPositioner
(
)
:
Positioner
for
Each
Child
Link copied to clipboard
open
override
fun
forEachChild
(
consumer
:
Consumer
<
ClickableWidget
>
)
for
Each
Element
Link copied to clipboard
open
override
fun
forEachElement
(
consumer
:
Consumer
<
Widget
>
)
get
Height
Link copied to clipboard
open
override
fun
getHeight
(
)
:
Int
get
Main
Positioner
Link copied to clipboard
fun
getMainPositioner
(
)
:
Positioner
get
Navigation
Focus
Link copied to clipboard
open
fun
getNavigationFocus
(
)
:
ScreenRect
get
Width
Link copied to clipboard
open
override
fun
getWidth
(
)
:
Int
get
X
Link copied to clipboard
open
override
fun
getX
(
)
:
Int
get
Y
Link copied to clipboard
open
override
fun
getY
(
)
:
Int
refresh
Positions
Link copied to clipboard
open
override
fun
refreshPositions
(
)
set
Position
Link copied to clipboard
open
fun
setPosition
(
x
:
Int
,
y
:
Int
)
set
X
Link copied to clipboard
open
override
fun
setX
(
x
:
Int
)
set
Y
Link copied to clipboard
open
override
fun
setY
(
y
:
Int
)
spacing
Link copied to clipboard
fun
spacing
(
spacing
:
Int
)
:
DirectionalLayoutWidget